//
//  ENDynamicCell.m
//  EverydayNews
//
//  Created by 李沛池 on 2017/8/9.
//  Copyright © 2017年 Godlike. All rights reserved.
//

#import "ENDynamicCell.h"

@interface ENDynamicCell ()

@property (weak, nonatomic) IBOutlet UILabel *labelContent;
@property (weak, nonatomic) IBOutlet UILabel *labelDate;

@end

@implementation ENDynamicCell

- (void)updateData:(NSString *)strContent
{
    if (strContent.length > 0) {
        NSArray *array = [strContent componentsSeparatedByString:SEPARATE_string];
        _labelContent.text = array[0];
        _labelDate.text = array[1];
    }
}


@end
